<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="header-nav">
    <div class="header-nav-main">
        <div class="header-nav-logo">
            <a href="#">
                <img src="${pageContext.request.contextPath}/statics/img/hearNav-logo.png" alt=""
                     style="width: 100%"/>
            </a>
        </div>

        <ul class="header-nav-ul ">
            <li class="header-nav-item">
                <a href="/home.html" class="header-nav--name">首页</a>
            </li>
            <li class="header-nav-item">
                <a href="" class="header-nav--name">校园招聘</a>
            </li>
            <li class="header-nav-item">
                <a href="" class="header-nav--name">就业政策</a>
            </li>
            <li class="header-nav-item">
                <a href="" class="header-nav--name">新闻资讯</a>
            </li>
            <li class="header-nav-item">
                <a href="" class="header-nav--name ">宣讲会</a>
            </li>
            <li class="header-nav-item">
                <a href="" class="header-nav--name">讨论</a>
            </li>
        </ul>

        <div class="fr-user">
            <c:if test="${sessionScope.userLogin == null}">

                <div class="not-login fl">
                            <span class="not-login-button">
                                <a href="/login.html"><span class="fa fa-user"></span>登录/注册</a>
                            </span>
                    <span>
                                <a href="#" class="not-login-position"><span class="fa fa-envelope"></span>上传简历</a>
                            </span>
                </div>

            </c:if>


            <c:if test="${sessionScope.userLogin != null}">
                <div class="zp-welcome">
                    <a href="">
                        <i class="fa fa-envelope"></i> 消息<i class="zp-unread">|</i>
                    </a>
                    <a href="">
                        <i class="fa fa-user"></i> 个人中心 <i class="zp-unread">|</i>
                    </a>
                    <div class="zp-profile">
                        <span style="margin-right: 5px"> 欢迎回来 </span>
                        <span class="zp-welcome-username">
                                    <span>${sessionScope.userLogin.stu_name}</span>
                                    <i class="fa fa-angle-down le"></i>
                                    <div class="zp-welcome-sf">
                                        <ul class="zp-welcome__setlist">
                                            <li class="zp-welcome__setlist--li">
                                                <a href="#" target="_blank" class="zp-welcome__setlist--link"  style="color: black">我的简历</a>
                                            </li>
                                            <li class="zp-welcome__setlist--li">
                                                <a href="#" target="_blank" class="zp-welcome__setlist--link" style="color: black">我的收藏</a>
                                            </li>
                                            <li class="zp-welcome__setlist--li">
                                                <a href="#" target="_blank" class="zp-welcome__setlist--link" style="color: black">面试邀请</a>
                                            </li>
                                            <li class="zp-welcome__setlist--li">
                                                <a href="/logout?id=userLogin"
                                                   class="zp-welcome__setlist--link" style="color: black">退出登录</a>
                                            </li>
                                        </ul>
                                    </div>
                                </span>
                    </div>
                </div>


            </c:if>

        </div>
    </div>
</div>

